package com.zhuoan.biz.bank;

import com.github.miemiedev.mybatis.paginator.domain.PageList;
import com.zhuoan.model.Bank;
import com.zhuoan.model.condition.BankCondition;
import com.zhuoan.model.vo.BankVO;

/**
 * BankBiz1
 *
 * @author weixiang.wu
 * @date 2018 -06-11 14:35
 */
public interface BankBiz {

    /**
     * Insert selective int.
     *
     * @param record the record
     * @return the int
     */
    int insertSelective(Bank record);

    /**
     * Select by primary key bank.
     *
     * @param id the id
     * @return the bank
     */
    Bank selectByPrimaryKey(Long id);

    /**
     * Update by primary key selective int.
     *
     * @param record the record
     * @return the int
     */
    int updateByPrimaryKeySelective(Bank record);

    /**
     * Query all users by condition page list.
     *
     * @param bankCondition the bank condition
     * @return the page list
     */
    PageList<BankVO> queryAllUsersByCondition(BankCondition bankCondition);
}
